package com.atxwq.shop.user.service;

import com.atxwq.shop.model.dto.h5.UserLoginDto;
import com.atxwq.shop.model.dto.h5.UserRegisterDto;
import com.atxwq.shop.model.entity.user.UserInfo;
import com.atxwq.shop.model.vo.h5.UserInfoVo;

public interface UserInfoService {
    void register(UserRegisterDto userRegisterDto);

    String login(UserLoginDto userLoginDto);

    /**
     * 获取用户当前信息
     * @param token
     * @return
     */
    UserInfoVo getCurrentUserInfo(String token);
}
